<?php if(Nuo::isMember()):
$user = Nuo::getUser();
?>
<li class="clearfix commentEntry commentCompose">
	<div class="lfloat">
		<a href="<?php echo $user -> getUrl(); ?>" class="inlineBlock mright5"> <img src="<?php echo $user -> getPhotoUrl('s50'); ?>" width="32" height="32" /> </a>
	</div>
	<div class="uiCommentComposer">
		<form aria-submit="async" aria-cb="activity.addCallback" method="post" action="<?php echo Nuo::getUrl('activity/ajax/comment/add')?>">
			<div class="uiMentionTypeAheadContainer">
				<div class="uiMentionHighlighterArea">
					<span class="uiMentionHighlighter"></span>
				</div>
				<div class="uiTypeaheaMentiondArea">
					<textarea name="add_comment_text_text" aria-focus="commentComposer" class="uiMentionTypeahead uiCommentTextArea" placeholder="<?php echo $label = Intl::__('Writing a comment...'); ?>"></textarea>
				</div>
				<input type="hidden" name="add_comment_text" class="hidden uiMentionHidden"/>
				<input type="hidden" name="data-id" class="hidden" value="<?php echo $item -> getItemId(); ?>"/>
				<input type="hidden" name="html-id" class="hidden" value="<?php echo $item -> getHtmlId(); ?>"/>
			</div>
		</form>
	</div>
</li>
<?php endif; ?>